//
//  ViewController.m
//  12-storyboardAndSizeClasses
//
//  Created by Snow on 16/7/29.
//  Copyright © 2016年 Snow. All rights reserved.
//

#import "ViewController.h"
#define kReuse @"reuse"
#import "TableViewCell.h"
@interface ViewController ()<UITableViewDelegate, UITableViewDataSource>

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 12;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    TableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kReuse];
//    cell.textLabel.text = @"yoho";
    cell.titleLabel.text = @"kk";
    cell.contentLabel.text = @"eeeeee";
    return cell;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
